html,
body {
  width: 100%;
  height: 100%;
}
body {
  margin: 0;
  font-size: 0.28rem;
  font-weight: 300;
  line-height: 1.5;
  font-family: PingFangSC-Regular, sans-serif, -apple-system, HelveticaNeue,
    Arial, 'Microsoft YaHei';
}
ul,
h1,
h2,
h3,
h4,
h5,
h6,
p,
input,
form,
dl,
dt,
dd,
span,
i,
img,
header,
nav,
a,
li,
em,
font,
b,
div,
textarea,
button,
select,
figure,
figcaption,
dialog,
menu,
menuitem,
progress,
meter,
details,
aside,
header,
main,
footer,
ol,
label {
  margin: 0;
  padding: 0;
  /*取消手指按下时出现的黑色遮罩层*/
  -webkit-tap-highlight-color: transparent;
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
  -webkit-touch-callout: none;
}
input,
button,
select,
textarea {
  border: 0;
  border-radius: 0;
  /*解决IOS下表单元素圆角问题*/
  -webkit-appearance: none;
  outline: 0 !important;
  font-size: 0.28rem;
  font-weight: 300;
  font-family: PingFangSC-Regular, sans-serif, -apple-system, HelveticaNeue,
    Arial, 'Microsoft YaHei';
}
textarea {
  resize: none;
}
img {
  border: 0;
  vertical-align: top;
}
i,
em {
  font-style: normal;
}
a {
  text-decoration: none;
}
a:active,
a:hover {
  outline-width: 0;
}
li {
  list-style: none;
}
hr {
  box-sizing: content-box;
  -webkit-box-sizing: content-box;
  height: 0;
  overflow: visible;
}
.fl {
  float: left;
}
.fr {
  float: right;
}
.clear {
  zoom: 1;
}
.clear:after {
  content: '';
  display: block;
  clear: both;
}
.cutstr2 {
  /*超出两行使用...表示*/
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.cutstr1 {
  /*超出两行使用...表示*/
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

/*通用移动布局*/
.app {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.tost {
  position: fixed;
  left: 50%;
  top: 100px;
  background: rgba(0, 0, 0, 0.7);
  padding: 4px 10px;
  font-size: 12px;
  color: #ffffff;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  border-radius: 2px;
}
